package com.InfinityRun;

import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.view.MotionEvent;

public class InstructionsScene extends Scene
{
	Bitmap bg;
	
	public InstructionsScene()
	{
		bg = Assets.instructions;
	}
	@Override
	public void Update(float deltaTime) {
		
	}

	@Override
	public void Draw(Canvas c) 
	{
		c.drawRGB(0, 0, 0);
		c.drawBitmap(bg, 0, 0, null);
	}

	@Override
	public void GetInput(MotionEvent ev) 
	{
		if(ev.getAction() == MotionEvent.ACTION_DOWN)
		{
			SceneManager.getInstance().ChangeScene(2);
		}
	}

	@Override
	public void OnPause() 
	{
		// TODO Auto-generated method stub
		
	}

	@Override
	public void OnResume() 
	{
		// TODO Auto-generated method stub
		
	}

}
